import logging

import pytest


def Log():
    logging.basicConfig(filename='rizhi.log',filemode='a+',
                        level=logging.DEBUG,
                        format='%(filename)s -> %(message)s -> %(asctime)s ')





if __name__ == '__main__':
    Log()
    pytest.main([r'D:\gao1\rk.20\yl.py','-s','--html=baogao.html'])